Skip to content

Add CI and dist branch publishing - #1

Merged
hackallcode merged 4 commits into
masterfrom
chore/ci
Nov 3, 2026
Merged

hackallcode merged 4 commits into
masterfrom
chore/ci

Conversation

@hackallcode

Copy link
Copy Markdown
Owner

Adds the ci workflow and starts plugin versioning at 1.0.

  • check-skills builds skills/** from modes/** and compiles the scripts on every PR and push to master, so a broken build cannot reach dist unnoticed.
  • test-scripts runs pytest tests.
  • publish-skills runs after both on push to master (or a manual run with publish), stamps the version and force-pushes the build to dist, which the README install commands point at. dist_branch sends a manual run to another branch.
  • Plugin manifests go from 2.0.0 to 1.0.0: the first published dist build is the first release, and the patch is the first-parent commit count of master.

Builds skills from modes/, runs script tests, and on push to master
force-publishes the built plugin to the dist branch.
A manual run with dist_branch=master would force-push a build over the
source branch. Move to the Node 24 majors of checkout and setup-python
and keep the workflow comments to one English line each.
@hackallcode

hackallcode commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner Author

Тест-план

Автоматические проверки

  • Шаг публикации из ci.yml на клоне ветки с пушем в локальный bare-репозиторий: dist_branch=master отклонён, ветка не создана - 2ccff23
  • Тот же шаг с ветки chore/ci в dist отклонён (dist is published only from master), в dist-test - опубликован - 2ccff23
  • Тот же шаг с master в dist: один коммит сборки поверх истории от github-actions[bot], в обоих plugin.json одна версия, skills/** на месте - 2ccff23
  • claude plugin validate . на собранной ветке проходит; предупреждения только про отсутствующие description, author и иконку - 2ccff23
  • В аннотациях прогона нет предупреждения о Node 20 после перехода на checkout@v7 и setup-python@v7 - 2ccff23

Ручные проверки

Не нужны: публикацию в настоящую dist через GITHUB_TOKEN до мержа не проверить, ручной запуск workflow появляется только после того, как файл попадёт в master.

Comment thread .github/workflows/ci.yml Resolved
Comment thread .github/workflows/ci.yml Resolved
A manual run from a branch defaulted to dist and took the version number
of the next merge; it now defaults to dist-test and dist is published only
from master. Publishes to one branch are queued so the newest lands last.
@hackallcode
hackallcode marked this pull request as ready for review November 3, 2026 21:28
The reasons behind the publish guards belong to the commit history,
not to the contributor guide.
@hackallcode
hackallcode merged commit 8cfc004 into master Nov 3, 2026
3 checks passed
@hackallcode
hackallcode deleted the chore/ci branch November 3, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant